import service from '@/utils/request'
export function loginApi(loginForm) {
  return service({
    url: '/login',
    method: 'post',
    data: loginForm
  })
}

export function getUserInfoApi() {
  return service({
    url: '/profile',
    method: 'get',
  })
}